package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 *  会员收费表
 * </p>
 *
 * @author zs
 * @since 2019-12-16
 */
@TableName("yingbao_vip_pay")
public class VipPay implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 会员名
     */
    @TableField("name")
    private String name;

    /**
     * 日期
     */
    @TableField("date")
    private String date;

    /**
     * 钱数
     */
    @TableField("money")
    private String money;

    /**
     * 天数
     */
    @TableField("day")
    private Integer day;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 加入时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 备用1
     */
    @TableField("backup1")
    private String backup1;

    /**
     * 备用2
     */
    @TableField("backup2")
    private String backup2;

    /**
     * 备用3
     */
    @TableField("backup3")
    private String backup3;

    /**
     * 备用4
     */
    @TableField("backup4")
    private String backup4;

    /**
     * 备用5
     */
    @TableField("backup5")
    private String backup5;

    /**
     * 备用6
     */
    @TableField("backup6")
    private Long backup6;

    /**
     * 备用7
     */
    @TableField("backup7")
    private Long backup7;

    /**
     * 备用8
     */
    @TableField("backup8")
    private Long backup8;

    /**
     * 备用9
     */
    @TableField("backup9")
    private Long backup9;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Integer getDay() {
        return day;
    }

    public void setDay(Integer day) {
        this.day = day;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getBackup1() {
        return backup1;
    }

    public void setBackup1(String backup1) {
        this.backup1 = backup1;
    }

    public String getBackup2() {
        return backup2;
    }

    public void setBackup2(String backup2) {
        this.backup2 = backup2;
    }

    public String getBackup3() {
        return backup3;
    }

    public void setBackup3(String backup3) {
        this.backup3 = backup3;
    }

    public String getBackup4() {
        return backup4;
    }

    public void setBackup4(String backup4) {
        this.backup4 = backup4;
    }

    public String getBackup5() {
        return backup5;
    }

    public void setBackup5(String backup5) {
        this.backup5 = backup5;
    }

    public Long getBackup6() {
        return backup6;
    }

    public void setBackup6(Long backup6) {
        this.backup6 = backup6;
    }

    public Long getBackup7() {
        return backup7;
    }

    public void setBackup7(Long backup7) {
        this.backup7 = backup7;
    }

    public Long getBackup8() {
        return backup8;
    }

    public void setBackup8(Long backup8) {
        this.backup8 = backup8;
    }

    public Long getBackup9() {
        return backup9;
    }

    public void setBackup9(Long backup9) {
        this.backup9 = backup9;
    }

    @Override
    public String toString() {
        return "VipPay{" +
        "id=" + id +
        ", name=" + name +
        ", date=" + date +
        ", money=" + money +
        ", day=" + day +
        ", status=" + status +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", version=" + version +
        ", backup1=" + backup1 +
        ", backup2=" + backup2 +
        ", backup3=" + backup3 +
        ", backup4=" + backup4 +
        ", backup5=" + backup5 +
        ", backup6=" + backup6 +
        ", backup7=" + backup7 +
        ", backup8=" + backup8 +
        ", backup9=" + backup9 +
        "}";
    }
}
